import request from '@/utils/request'

/**
 * 获取首页统计数据
 */
export function getDashboardStatistics() {
  return request({
    url: '/system/dashboard/statistics',
    method: 'get'
  })
}

/**
 * 获取老人护理等级分布统计
 */
export function getNursingLevelStats() {
  return request({
    url: '/system/dashboard/nursing-level-stats',
    method: 'get'
  })
}

/**
 * 获取老人年龄分布统计
 */
export function getAgeStats() {
  return request({
    url: '/system/dashboard/age-stats',
    method: 'get'
  })
}

